<template>
	<view class="container">
		<!-- logo -->
		<view class="logo-wrap">
			<view class="logo">
				<image src="https://oimagea7.ydstatic.com/image?id=-3791438509904319618&product=adpublish&w=520&h=347" mode=""></image>
			</view>
			<view class="text">大马海沙平台</view>
		</view>
		<!-- 表单 -->
		<view class="form-wrap">
			<view class="form-user">
				<input type="text" value="" placeholder="请输入你的手机号" />
			</view>
			<view class="form-pwd">
				<input type="password" value="" placeholder="请输入密码" />
			</view>
			<view class="form-forget">
				<text>忘记密码</text>
			</view>
		</view>
		<!-- 提交按钮 -->
		<view class="btn-wrap">
			<view class="login">
				<button type="default">登录</button>
			</view>
			<view class="register">
				<button type="default">立即注册</button>
			</view>
		</view>
	</view>
</template>

<script>
	// import {linkTo, backTo} from '@/utils/utils.js'
	export default {
		components: {
		},
		data() {
			return {
				
			};
		},
		methods: {
			backTo(){
				// backTo();
			},
		}
	}
</script>

<style lang="scss" scoped>
	.container{
		box-sizing: border-box;
		padding: 20rpx;
	}
	.logo-wrap{
		margin: 0 auto;
		padding: 50rpx 0;
		width: 100%;
		text-align: center;
		background: red;
	}
	.logo {
		margin: 0 auto;
		padding-bottom: 20rpx;
		width: 250rpx;
		height: 250rpx;
	}
	.logo image{
		width: 100%;
		height: 100%;
	}
	.form-wrap{
		background: pink;
		padding: 50rpx 0;
	}
	.form-user, .form-pwd{
		padding: 10rpx 0;
		input{
			padding: 10rpx 20rpx;
			border-bottom: 1rpx solid black;
		}
	}
	.form-forget{
		text-align: right;
		color: blue;
	}
	.btn-wrap{
		background: red;
		padding: 50rpx;
		.login, .register{
			padding: 20rpx;
		}
	}
</style>
